package com.example.mvvmdemo.model;


import com.example.mvvmdemo.viewmodel.MVVMLoadDataCallback;

public class MVVMDataModel {
    public String mDate;

    public MVVMDataModel(){
        this.mDate = "初始数据";
    }

    public void requestData(MVVMLoadDataCallback callback) {
        this.mDate="数据请求成功";
        callback.onSuccess();
    }
}
